Builder
Functions
Determines whether the button should be active or not. Polled every frame.
Sets a custom background for the button widget, which will appear when the button is selected and active
Builds the ConfigAction with the provided runnable as the on-click event
Builds the ConfigAction with the supplied ClickEvent as the on-click event
Defines a decoration texture id. This will be drawn to the left of the button widget in the config screen. Decorations are typically 20x20 at the most
Defines the tooltip description for this button. Default is no tooltip.
Adds a flag to this Action.
Sets the title of the widget. This can be dynamically provided as needed, the title is polled from the supplier every frame.
Sets the title of the widget. This will be a static title, unchanging based on state.